home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Dialog / c / ShowStatic < prev    next >
Text File  |  1993-07-10  |  1KB  |  35 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Dialog.ShowStatic.c
  12.     Author:  Copyright © 1993 Tim Browse and Jason Williams
  13.     Version: 1.00 (10 Jul 1993)
  14.     Purpose: Very high level window (dialogue) handling -
  15.              Showing permanent (static) dialogue windows
  16. */
  17.  
  18.  
  19. #include "DeskLib:Wimp.h"
  20. #include "DeskLib:WimpSWIs.h"
  21.  
  22. #include "DeskLib:Dialog.h"
  23. #include "DeskLib:Window.h"
  24.  
  25.  
  26. extern void Dialog_ShowStatic(dialog dbox, window_openpos openpos)
  27. /*  Shows a dialogue box at the position requested (see Window.h for
  28.  *  window_openpos values). The dialoge box will stay until expressly
  29.  *  closed by the user or your program.
  30.  */
  31. {
  32.   dbox->state.isstatic = dbox->state.stillopen = TRUE;
  33.   Window_Show(dbox->window, openpos);
  34. }
  35.